package com.yunhe.fountain.dao;

import com.yunhe.fountain.domain.Fountain;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhengbo
 * @date 2021/7/8 10:20
 */
@Repository
public interface FountainControlDao {

    void addFountain(Fountain fountain);

    void updateFountain(Fountain fountain);

    Fountain getFountain(@Param("ipAddress")String ipAddress,@Param("port")String port);

    List<Fountain> getFountainList();

}
